package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {

    public void saveWithFlavor(DishDTO dish);

    PageResult pageSelect(DishPageQueryDTO queryDTO);

    void deleteBatch(List<Long> ids);

    DishDTO getById(Long id);

    void update(DishDTO dishDTO);

    List<Dish> list(Long categoryId);

    List<DishVO> listWithFlavor(Dish dish);


    void setStatus(Integer status, Long id);
}
